﻿<%@ Page Title="" Language="C#" MasterPageFile="~/QLVB/User/User.master" AutoEventWireup="true" CodeFile="VanBanChuaDuyet.aspx.cs" Inherits="QLVB_User_VanBanChuaDuyet" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        .style21
        {
            height: 23px;
        }
        .style22
        {
        width: 40px;
        height: 23px;
    }
        .style34
        {
            height: 23px;
        }
        .style27
    {
        width: 110px;
        height: 60px;
    }
        .style30
        {
            width: 40px;
            height: 60px;
        }
        .style28
        {
            width: 110px;
            height: 15px;
        }
        .style29
        {
            width: 40px;
            height: 15px;
        }
        .style31
        {
            width: 110px;
            height: 30px;
        }
        .style32
        {
            height: 30px;
        }
        .ajax__combobox_buttoncontainer button
{
    background-image: url(mvwres://AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e/ComboBox.arrow-down.gif);
    background-position: center;
    background-repeat: no-repeat;
    border-color: ButtonFace;
    height: 15px;
    width: 15px;
}
.ajax__combobox_buttoncontainer button
{
    background-image: url(mvwres://AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e/ComboBox.arrow-down.gif);
    background-position: center;
    background-repeat: no-repeat;
    border-color: ButtonFace;
    height: 15px;
    width: 15px;
}
.ajax__combobox_buttoncontainer button
{
    background-image: url(mvwres://AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e/ComboBox.arrow-down.gif);
    background-position: center;
    background-repeat: no-repeat;
    border-color: ButtonFace;
    height: 15px;
    width: 15px;
}
.ajax__combobox_buttoncontainer button
{
    background-image: url(mvwres://AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e/ComboBox.arrow-down.gif);
    background-position: center;
    background-repeat: no-repeat;
    border-color: ButtonFace;
    height: 15px;
    width: 15px;
}
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 708px; border: double;">
        <tr>
            <td class="style21" style="120px:; text-align: center;" colspan="2">
                <asp:Label ID="lblTieuDe" runat="server" Text="SỬA VĂN BẢN CHƯA DUYỆT" 
                style="text-decoration: underline"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblSoVanBanCanTim" runat="server" Text="Số văn bản cần tìm:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22">
                <asp:TextBox ID="txtSoVanBanCanTim" runat="server"></asp:TextBox>
                <asp:HiddenField ID="hfSoVanBanCanTim" runat="server" />
                <asp:Button ID="btnTimKiem" runat="server" onclick="btnTimKiem_Click" 
                Text="Tìm kiếm" Width="100px" />
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;" bgcolor="#FFFF99" colspan="2">
            &nbsp;</td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblSoVanBan" runat="server" Text="Số văn bản:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22">
                <asp:TextBox ID="txtSoVanBan" runat="server" 
                style="margin-left: 0px"></asp:TextBox>
                <br />
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblTenVanBan" runat="server" Text="Tên văn bản:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22">
                <asp:TextBox ID="txtTenVanBan" runat="server" Width="99%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblMaLoaiVanBan" runat="server" Text="Loại  văn bản:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22">
                <asp:ComboBox ID="cmbMaLoaiVanBan" runat="server" AutoPostBack="True">
                </asp:ComboBox>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;" valign="top">
                <asp:Label ID="lblMaHinhThuc" runat="server" Text="Hình thức:"></asp:Label>
            </td>
            <td style="300px: ;" class="style34" valign="top">
                <asp:ComboBox ID="cmbMaHinhThuc" runat="server" AutoPostBack="True">
                </asp:ComboBox>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;" valign="top">
                <asp:Label ID="lblNoiPhatHanh" runat="server" Text="Nơi phát hành:"></asp:Label>
            </td>
            <td style="300px: ;" class="style34" valign="top">
                <asp:ComboBox ID="cmbMaNoiPhatHanh" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="cmbMaNoiPhatHanh_SelectedIndexChanged">
                </asp:ComboBox>
                <asp:TextBox ID="txtTenDonViSoanThao" runat="server" Width="70%" 
                    BackColor="#FFFFCC" ForeColor="Red"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblMaTinhChat" runat="server" Text="Tính chất:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22">
                <asp:ComboBox ID="cmbMaTinhChat" runat="server" AutoPostBack="True">
                </asp:ComboBox>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;" valign="top">
                <asp:Label ID="lblNgayHieuLuc" runat="server" Text="Ngày phát hành VB:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22" valign="top">
                <asp:TextBox ID="txtNgayHieuLuc" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="txtNgayHieuLuc_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="txtNgayHieuLuc" Format="dd/MM/yyyy">
                </asp:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;" valign="top">
                <asp:Label ID="lblNgayHetHieuLuc" runat="server" SkinID=" " 
                Text="Ngày CN nhận VB:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22" valign="top">
                <asp:TextBox ID="txtNgayHetHieuLuc" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="txtNgayHetHieuLuc_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="txtNgayHetHieuLuc" Format="dd/MM/yyyy">
                </asp:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td class="style27" style="120px: ;" valign="top">
                <asp:Label ID="lblNoiDungVanBan" runat="server" Text="Nội dung văn bản:"></asp:Label>
            </td>
            <td style="300px: ;" class="style30" valign="top">
                <asp:TextBox ID="txtNoiDungVanBan" runat="server" Width="99%" Height="50px" 
                style="text-align: left" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style27" style="120px: ;" valign="top">
                <asp:Label ID="lblNoiDungButPhe" runat="server" Text="Nội dung bút phê:"></asp:Label>
            </td>
            <td style="300px: ;" class="style30" valign="top">
                <asp:TextBox ID="txtNoiDungButPhe" runat="server" Width="99%" Height="50px" 
                style="text-align: left" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style28" style="120px: ;" valign="top">
                <asp:Label ID="lblNoiNhanVanBan" runat="server" Text="Nơi nhận văn bản:"></asp:Label>
            </td>
            <td style="300px: ;" class="style29" valign="top">
            <asp:CheckBox ID="chkToanChiNhanh" runat="server" 
                oncheckedchanged="chkToanChiNhanh_CheckedChanged" Text="Toàn chi nhánh" 
                AutoPostBack="True" />
            <asp:CheckBox ID="chkPhong" runat="server" Text="Phòng" 
                AutoPostBack="True" oncheckedchanged="chkPhong_CheckedChanged" />
            <asp:GridView ID="gvPhongNhanVanBan" runat="server" AllowPaging="True" 
                AutoGenerateColumns="False" DataKeyNames="MaPhong" Width="100%" 
                Enabled="False" PageSize="20" 
                    onpageindexchanging="gvPhongNhanVanBan_PageIndexChanging">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <table style="width: 100%;">
                                <tr>
                                    <td>
                                        <asp:CheckBox ID="chkMaPhong" runat="server" />
                                    </td>
                                    <td align="left" width="400">
                                        <asp:Label ID="lblTenPhong" runat="server" 
                                            Text='<%# Eval("TenPhong") %>'></asp:Label>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                &nbsp;</td>
            <td style="300px: ;" class="style22" valign="top">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                <asp:Label ID="lblChonFile" runat="server" Text="Chọn file:"></asp:Label>
            </td>
            <td style="300px: ;" class="style22" valign="top">
                <asp:FileUpload ID="fupdTenFile" runat="server" BackColor="#FFFFCC" />
                <br />
                <asp:Label ID="lblTenFile" runat="server" Text="Label" ForeColor="Blue"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style21" style="120px: ;">
                &nbsp;</td>
            <td style="300px: ;" class="style22" valign="top">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style31" style="120px: ;">
            </td>
            <td style="300px: ;" class="style32" valign="top">
                <asp:Button ID="btnSua" runat="server" Text="Sửa" Width="100px" 
                onclick="btnSua_Click" />
                <asp:Button ID="btnDong" runat="server" Text="Đóng" Width="100px" 
                onclick="btnDong_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

